package com.eis.admin.mvc.bean;

import java.util.ArrayList;
import java.util.List;

import com.eis.function.out.rule.model.StatusCondition;
import com.eis.function.out.rule.model.StatusRule;


public class StatusRuleEditBean {
	private String functionId;
	private String functionName;
	private String operation;
	private String operation1;
	private String operationRuleId;
	
	private List<StatusRule> statusRules;
	private String newRuleFieldName;
	private int newRuleStatus;
	private int newRuleEffectDays;
	
	private int conditionIndex; // for create
	private List<StatusCondition> statusConditionList = new ArrayList<StatusCondition>();
	
	private int editcondidtionCount; // for edit
	private String operation2;
	private int ruleId;
	private String editRuleFieldName;
	private int editRuleStatus;
	
	public String getEditRuleFieldName() {
		return editRuleFieldName;
	}
	public void setEditRuleFieldName(String editRuleFieldName) {
		this.editRuleFieldName = editRuleFieldName;
	}
	public int getEditRuleStatus() {
		return editRuleStatus;
	}
	public void setEditRuleStatus(int editRuleStatus) {
		this.editRuleStatus = editRuleStatus;
	}
	public int getRuleId() {
		return ruleId;
	}
	public void setRuleId(int ruleId) {
		this.ruleId = ruleId;
	}
	public int getNewRuleEffectDays() {
		return newRuleEffectDays;
	}
	public void setNewRuleEffectDays(int newRuleEffectDays) {
		this.newRuleEffectDays = newRuleEffectDays;
	}
	public List<StatusCondition> getStatusConditionList() {
		return statusConditionList;
	}
	public void setStatusConditionList(List<StatusCondition> statusConditionList) {
		this.statusConditionList.clear();
		this.statusConditionList = statusConditionList;
	}
	public int getConditionIndex() {
		return conditionIndex;
	}
	public void setConditionIndex(int condidtionIndex) {
		this.conditionIndex = condidtionIndex;
	}
	public int getNewRuleStatus() {
		return newRuleStatus;
	}
	public void setNewRuleStatus(int newRuleStatus) {
		this.newRuleStatus = newRuleStatus;
	}
	public String getNewRuleFieldName() {
		return newRuleFieldName;
	}
	public void setNewRuleFieldName(String newRuleFieldName) {
		this.newRuleFieldName = newRuleFieldName;
	}
	public String getFunctionId() {
		return functionId;
	}
	public void setFunctionId(String functionId) {
		this.functionId = functionId;
	}
	public String getFunctionName() {
		return functionName;
	}
	public void setFunctionName(String functionName) {
		this.functionName = functionName;
	}
	public String getOperation() {
		return operation;
	}
	public void setOperation(String operation) {
		this.operation = operation;
	}
	public String getOperation1() {
		return operation1;
	}
	public void setOperation1(String operation1) {
		this.operation1 = operation1;
	}
	public List<StatusRule> getStatusRules() {
		return statusRules;
	}
	public void setStatusRules(List<StatusRule> statusRules) {
		this.statusRules = statusRules;
	}
	public String getOperationRuleId() {
		return operationRuleId;
	}
	public void setOperationRuleId(String operationRuleId) {
		this.operationRuleId = operationRuleId;
	}
	public int getEditcondidtionCount() {
		return editcondidtionCount;
	}
	public void setEditcondidtionCount(int editcondidtionCount) {
		this.editcondidtionCount = editcondidtionCount;
	}
	public String getOperation2() {
		return operation2;
	}
	public void setOperation2(String operation2) {
		this.operation2 = operation2;
	}
	
}
